Exempt GtkAssistant.use-header-bar from defaultvalue test
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Feb 2014 22:57:07 +0000 (17:57 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Feb 2014 00:47:36 +0000 (19:47 -0500)
Just like GtkDialog, this one has a special-purpose
default value.

testsuite/gtk/defaultvalue.c

index 84a3d804294de5f210529033daf815c2b6adf817..11cf4fb3bb9dfde41a636e620fa59dd794960fbe 100644 (file)
@@ -137,6 +137,10 @@ test_type (gconstpointer data)
          (strcmp (pspec->name, "use-header-bar") == 0))
        continue;
 
+      if (g_type_is_a (type, GTK_TYPE_ASSISTANT) &&
+         (strcmp (pspec->name, "use-header-bar") == 0))
+       continue;
+
       if (g_type_is_a (type, GTK_TYPE_POPOVER) &&
          (strcmp (pspec->name, "pointing-to") == 0))
        continue;